import React, { useState } from "react";

export default function VehicleInfo() {
  const [count, setCount] = useState(0);
  const addcount = () => {
    setCount(count + 1);
  };
  return (
    <div>
      count:{count}
      <button onClick={addcount}>add</button>
    </div>
  );
}
